package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetDrawRecordResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2015-4-13   下午5:04:53
 */
@XmlRootElement
public class GetDrawRecordResp extends SuperResp {

	/** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = -5669001723154105396L;
	private Integer recordSize;
	private List<DrawRecordInfo> drawRecordInfos;
	
	public Integer getRecordSize() {
		return recordSize;
	}
	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}
	public List<DrawRecordInfo> getDrawRecordInfos() {
		return drawRecordInfos;
	}
	public void setDrawRecordInfos(List<DrawRecordInfo> drawRecordInfos) {
		this.drawRecordInfos = drawRecordInfos;
	}
	public static class DrawRecordInfo implements Serializable{

		/** 
		* @Fields serialVersionUID : TODO
		*/ 
		private static final long serialVersionUID = 1987532624893667959L;
		
		private String activityName;
		private String userID;
		private String drawTime;
		private String mobile;
		public String getActivityName() {
			return activityName;
		}
		public void setActivityName(String activityName) {
			this.activityName = activityName;
		}
		public String getUserID() {
			return userID;
		}
		public void setUserID(String userID) {
			this.userID = userID;
		}
		public String getDrawTime() {
			return drawTime;
		}
		public void setDrawTime(String drawTime) {
			this.drawTime = drawTime;
		}
		public String getMobile() {
			return mobile;
		}
		public void setMobile(String mobile) {
			this.mobile = mobile;
		}
		@Override
		public String toString() {
			return "DrawRecordInfo [activityName=" + activityName + ", userID="
					+ userID + ", drawTime=" + drawTime + "]";
		}
		
	}
	@Override
	public String toString() {
		return "GetDrawRecordResp [recordSize=" + recordSize
				+ ", drawRecordInfos=" + drawRecordInfos + ", getRecordSize()="
				+ getRecordSize() + ", getDrawRecordInfos()="
				+ getDrawRecordInfos() + "]";
	}
	

}
